package com.example.collegevice.service;

import com.example.pojo.Speciality;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SpecialityService {
    void add(Speciality speciality);
    PageInfo<Speciality> selectPage(Speciality speciality, Integer pageNum, Integer pageSize);
    void updateById(Speciality speciality);
    void deleteById(Integer id);
    List<Speciality> selectAll();

    Speciality selectById(Integer id);
}
